//
//  YLFuncDetailModel.m
//  YLFinanceService
//
//  Created by she1323 on 2017/8/25.
//  Copyright © 2017年 she1323. All rights reserved.
//

#import "YLFuncDetailModel.h"

@implementation YLFuncDetailModel

+ (instancetype)modelWithContent:(NSString *)content title:(NSString *)title icon:(NSString *)icon
{
    YLFuncDetailModel *model = [[YLFuncDetailModel alloc] init];
    model.title = title;
    model.content = content;
    model.icon = icon;
    return model;
}

+ (instancetype)modelWithContent:(NSString *)content title:(NSString *)title icon:(NSString *)icon Clickblock:(void (^)(void))block
{
    YLFuncDetailModel *model = [self modelWithContent:content title:title icon:icon];
    model.clickBlock = block;
    return model;
}
@end
